package com.ChainBizPro.system.mapper;

import com.ChainBizPro.system.model.domain.Suppliers;
import com.ChainBizPro.system.model.dto.Suppliers.SuppliersQueryRequest;
import com.ChainBizPro.system.model.vo.SuppliersVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;

/**
* @author liusijia
* @description 针对表【suppliers(供应商)】的数据库操作Mapper
* @createDate 2024-11-16 16:34:17
* @Entity generator.domain.Suppliers
*/
public interface SuppliersMapper extends BaseMapper<Suppliers> {

    List<SuppliersVO> getQueryByAdmin(Page<SuppliersVO> pageParam, SuppliersQueryRequest suppliersQueryRequest);

    List<SuppliersVO> getQueryByMy(Page<SuppliersVO> pageParam, SuppliersQueryRequest suppliersQueryRequest, Long userId);
}




